package com.example.demo.bean.charts;

import lombok.Data;

import java.util.List;

@Data
public class PieChart {
    private List<PieData> data;


    @Data
    public static class PieData {
        private String name;
        private Double y;

        public PieData(String name, Double y) {
            this.name = name;
            this.y = y;
        }
    }
}
